﻿@model StartStop.ServiceResources.StatOverView
@{
    ViewBag.Title = "Add";
}
<div id="main" class="group">
    <div id="bc">
        You are here: <a href="/">Home</a> Developer <a href="/Developer/ControlPanel/">Control
            Panel </a>
    </div>
    <div id="content" class="group">
        <h2>
            Add a new application</h2>
        <p>
        </p>
        <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
            <div>
                <fieldset>
                    <p>
                    <label>
                        Title
                        </label>
                        @Html.TextBoxFor(m => m.Title)
                    </p>
                    <p>
                      <label>  Description</label>
                        @Html.TextAreaFor(m => m.Description)
                    </p>
                    <p>
                        <label>More Information URL</label>
                        @Html.TextBoxFor(m => m.MoreInfoURL)
                    </p>
                    <p>
                        <label>Type Of Overview</label>
                        @Html.DropDownListFor(m => m.TypeOfOverview, new SelectList(Enum.GetValues(typeof(StartStop.ServiceResources.StatOverView.OverviewType))))
                    </p>

                    <p>
                          <input type="submit" value="Add Overview" class="action medium"  />
                    </p>
                </fieldset>
            </div>
        }
    </div>
    <div id="sidebar">
        <div class="sideblock">
            <h4>
                Guide</h4>
            <h5>
                Title</h5>
            <p>
            </p>
        </div>
        <!-- /sideblock -->
    </div>
</div>
